/* 
 * File:   Parametres.h
 * Author: Gab'z
 *
 * Created on 30 avril 2012, 13:41
 */

#ifndef PARAMETRES_H
#define	PARAMETRES_H
#include "Calculatrice.h"
namespace calculatrice {

    namespace MODEL {

        class Parametres {
        public:

            Parametres* getParametres() {
                if (parametres == 0) {
                    parametres = new Parametres();
                }
                return parametres;
            }
        private:
            static Parametres* parametres;
            Parametres();
            Parametres(const Parametres& orig);
            virtual ~Parametres();
            TypeConstante _typeConstante;
            UniteAngle _uniteAngle;
            bool _useComplex;
            bool _afficheClavier;
            int _nb_constantes_affichees;
        };

    }
}
#endif	/* PARAMETRES_H */

